import {
	request
} from '@/utils/request'

// 分页查询单盘数据
export const getCementListApi = (params, data) =>
	request({
		url: `/app/mixer/cement/data/query/page`,
		method: 'POST',
		params,
		data
	})

// 根据dataCode查看详情(包含材料规格信息,性能稍差)

export const getCementDetailApi = (dataCode) =>
	request({
		url: `/app/mixer/cement/data/datacode/${dataCode}`,
		method: 'GET'
	})

// 查询设备与最新出料信息列表
export const getCementEquipmentApi = (params) =>
	request({
		url: `/app/mixer/cement/data/equipments`,
		method: 'GET',
		params
	})